package com.md.api.dao;

import com.md.api.entity.SiteEvaluate;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface SiteEvaluateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SiteEvaluate record);

    SiteEvaluate selectByPrimaryKey(Integer id);

    List<SiteEvaluate> selectAll(@Param("siteId")String siteId,@Param("starNumStart")Integer starNumStart,@Param("starNumEnd")Integer starNumEnd);

    int updateScore(@Param("siteId")String siteId);
}